package com.wlhse.service;

import com.wlhse.dto.inDto.TaskManagementDto;


public interface TaskManageService {

    //新建任务
    String addTask(TaskManagementDto taskManagementDto);

    //删除任务
    String deleteTask(Integer id);

    //修改任务
    String editTask(TaskManagementDto taskManagementDto,int userId);

    String listTaskByCondition(String issueDate1, String issueDate2, String status, int pageIdx, int pageSize, String type, String isOrderBy, Integer leaderID, Integer publishID, String currentDays, String exceptStatus);

    String listTaskByID(int id, String isOrderBy, Integer leaderID, Integer publishID);

//    String taskOrder(TaskOrderDto taskOrderDto);

    //查询个人接收的任务
    String queryTasksByPublishPerson(TaskManagementDto taskManagementDto);
    //查询小任务详情
    String queryTasksByPublishPersonByID(int id);

}
